package com.atguigu.springcloud.alibaba.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * 自定义限流规则处理器(处理限流自定义报错)
 */
public class CustomerBlockHandler {


    public static String handler01(BlockException blockException) {
        return "限流成功,handler01";
    }

    public static String handler02(BlockException blockException) {
        return "限流成功,handler02";
    }

}
